<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<div class="container-fluid">
<div class="row-fluid">
<div class="span2"></div>
<div class="span8">
<div class="row-fluid">
<div class="8">
<!-- login form -->
    <s:form theme = "simple" cssClass="form-horizontal" action="adminlogin" method="post" validate="true">
  		<div class="control-group">
  		<div class="controls">
  		<h4>Admin Login</h4>
  		</div></div>
  		<div class="control-group">
  		<div class="controls">
  		<s:if test="hasFieldErrors()">
   			 <div class="alert alert-error span8">  
  		 		<s:fielderror><s:param>email</s:param></s:fielderror>
  		 		<s:fielderror><s:param>password</s:param></s:fielderror>
  		 		<s:fielderror><s:param>mismatch</s:param></s:fielderror>
  		 		<s:fielderror><s:param>account</s:param></s:fielderror>
  		  </div> 
  		 </s:if>
  		 </div>
  		 </div>
  		<div class="control-group">
  		<div class="controls">
  		<s:textfield name="email" cssClass="input-large" placeholder="Enter Email"></s:textfield>
  		</div>
  		</div>
  		<div class="control-group">
  		<div class="controls">
  		<s:password name="password" cssClass="input-large" placeholder="Enter Password"></s:password>
  		</div>
  		</div>
  		<div class="control-group">
  		<div class="controls">
  		<s:submit name="signin" theme = "simple" cssClass="btn btn-success" value="Login"></s:submit>
  		<br /><br />
  		</div>
  		</div>
  		<!-- remember me will be implimented later -->
  		<!-- 
  		<div class="control-group">
  		<div class="controls">
  		<label class="checkbox">
    	<s:checkbox name="rememberme" fieldValue="true" value="true" label="">Remember Me</s:checkbox>
  		</label>
  		</div>
  		</div>
  		 -->
	</s:form>
    <!-- login form ends here-->
    </div>
    <div class="span4">
    <!-- some additional info -->
    </div>
    </div>
</div>
<div class="span2"></div>
</div>
</div>
